package com.sz.biz.trade.goods.service;

import com.sz.biz.trade.goods.entity.GoodsProjectRel;

import java.util.List;

/**
 * Function: 商品项目限制服务 <br>
 * Author: jifeixing <br>
 * Date: 2017-07-12 14:09:00
 */

public interface GoodsProjectRelService {

    /**
     * 添加项目限制
     * @param goodsProjectRel
     * @return
     */
    void save(GoodsProjectRel goodsProjectRel);

    /**
     * 项目限制id
     * @param goodsId
     * @return
     */
    List<Integer> findProjectIdsByGoodsId(Integer goodsId);

    /**
     * 根据商品id删除
     * @param goodsId
     */
    void deleteByGoodsId(Integer goodsId);
}
